package com.org.utils.sql;

public class SQLConditionItem
{
	private String columnName;
	private String dataType;// string,number,date
	private String value;
	private String queryType; // vague,equal,range
	/**
	 * 模糊查询
	 */
	public static String QUERY_TYPE_VAGUE = "vague";
	/**
	 * 等于查询
	 */
	public static String QUERY_TYPE_EQUAL = "equal";
	/**
	 * 范围查询
	 */
	public static String QUERY_TYPE_RANGE = "range";
	/**
	 * 范围查询
	 */
	public static String QUERY_TYPE_IN = "in";
	/**
	 * 字符串类型
	 */
	public static String DATA_TYPE_STRING = "string";
	/**
	 * 数字类型
	 */
	public static String DATA_TYPE_NUMBER = "number";
	/**
	 * 时间类型
	 */
	public static String DATA_TYPE_DATE = "date";

	public String getColumnName()
	{
		return columnName;
	}

	public void setColumnName(String columnName)
	{
		this.columnName = columnName;
	}

	public String getDataType()
	{
		return dataType;
	}

	public void setDataType(String dataType)
	{
		this.dataType = dataType;
	}

	public String getValue()
	{
		return value;
	}

	public void setValue(String value)
	{
		this.value = value;
	}

	public String getQueryType()
	{
		return queryType;
	}

	public void setQueryType(String queryType)
	{
		this.queryType = queryType;
	}

}
